package com.edu.lxshpc.service;

import jakarta.servlet.http.HttpServletRequest;
import org.springframework.security.core.Authentication;

/**
 * @author zgh
 * @date 2023/11/2
 */
public interface MyAuthorizationService {
    boolean hasPermission(HttpServletRequest request, Authentication authentication);
    boolean hasRole(HttpServletRequest request, Authentication authentication);
}
